From: Øyvind Kolås Date: Thu, 6 Dec 2018 21:34:34 +0000 (+0100) Subject: babl: fix building reference-fish without lcms2 X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~12^2~11 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ef3a134996a430b01adbc9029223e5a2c7486d25;p=babl.git babl: fix building reference-fish without lcms2 --- diff --git a/babl/babl-fish-reference.c b/babl/babl-fish-reference.c index 6ef1c69..81aa9b2 100644 --- a/babl/babl-fish-reference.c +++ b/babl/babl-fish-reference.c @@ -1017,9 +1017,12 @@ babl_fish_reference_process_double (const Babl *babl, else if (source_kind == KIND_CMYK && destination_kind == KIND_CMYK) { - if (source_space != destination_space && - source_space->space.cmyk.lcms_profile && - destination_space->space.cmyk.lcms_profile) + if (source_space != destination_space +#if HAVE_LCMS + && source_space->space.cmyk.lcms_profile + && destination_space->space.cmyk.lcms_profile +#endif + ) { #if HAVE_LCMS